package com.zys.hotel_management.mapper;

import com.zys.hotel_management.entity.Booking;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookingMapper {
    void insert(Booking booking);

    List<Booking> findByCustomerId(Integer customerId);

    List<Booking> findAll();

    Booking findById(Integer bookingId);

    void cancelBooking(Integer bookingId);

    void updateStatus(Integer bookingId, String status);
}
